﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="SnmpAccessorAttribute.cs" company="Data Ductus Malmö">
//   (c) 2010 - 2012 Data Ductus Malmö AB
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

namespace DataDuctus.Snmp.Persistor.Core.Attributes
{
  using System;

  /// <summary>
  /// The snmp accessor attribute.
  /// </summary>
  [AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, AllowMultiple = false)]
  public class SnmpAccessorAttribute : Attribute
  {
    #region Public Properties

    /// <summary>
    /// Gets or sets the oid to the scalar or table.
    /// </summary>
    public string Oid { get; set; }

    #endregion
  }
}